package com.iwhalecloud.bss.kite.cucc.service.custview.userinfo.supplier;

import org.springframework.stereotype.Service;

import com.iwhalecloud.bss.kite.common.util.KiteMapUtils;
import com.iwhalecloud.bss.kite.cucc.service.custview.userinfo.UserAttrSupplier;

/**
 * @ClassName : UserNameSupplier
 * @Description : 集团用户名称属性提供者
 * @Author : xie.zhengjun
 * @Date : 2021/3/13 18:21
 */
@Service
@UserAttrSupplier(attrField = "group_user_name")
public class UserNameSupplier extends AbstractUserAttrSupplier{
    @Override
    public String getValue() {
        return KiteMapUtils.getString(userInfoContext.getUserInfo(), "USER_NAME");
    }
}
